package com.yazi.mxz.gather.entity.http;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlText;


/**
 * 坚强百货商城分页查询响应结果
 * <br/>http://jqbh.net/index.php/gallery-ajax_get_goods.html
 * <br/>POST cat_id=&virtual_cat_id=&scontent=n&orderBy=&showtype=grid&page=2，结构样板<br/>
 * <br/>&lt;ul>
 * <br/>　&lt;li>
 * <br/>　　&lt;div>
 * <br/>　　　&lt;a>&lt;img data-src="http://jqbh.net/public/images/8b/17/cf/79e08e9a8ddbc0090381d81d33ff3e06.jpg?1426125618#h">&lt;/a>
 * <br/>　　&lt;/div>
 * <br/>　　&lt;div>
 * <br/>　　　&lt;h3>
 * <br/>　　　　&lt;a href="/index.php/product-34850.html">龙力水壶180GS&lt;/a>
 * <br/>　　　&lt;/h3>
 * <br/>　　　&lt;div>
 * <br/>　　　　&lt;ins>￥89.00&lt;/ins>
 * <br/>　　　　&lt;del>￥106.80&lt;/del>
 * <br/>　　　&lt;/div>
 * <br/>　　&lt;/div>
 * <br/>　&lt;/li>
 * <br/>&lt;/ul>
 * 
 * @author mo_yq5
 * @date 2015-8-16
 */
@JsonRootName("ul")
public class JqbhResBody4List {
	
	@JacksonXmlElementWrapper(useWrapping = false)
	@JacksonXmlProperty(localName="li")
	List<Li> lis;
	
	public static class Li {
		@JacksonXmlElementWrapper(useWrapping = false)
		@JacksonXmlProperty(localName="div")
		List<Div> divs;

		public List<Div> getDivs() {
			return divs;
		}

		public void setDivs(List<Div> divs) {
			this.divs = divs;
		}
		
	}
	public static class Div {
		A a;
		H3 h3;
		Div2 div;
		public H3 getH3() {
			return h3;
		}
		public void setH3(H3 h3) {
			this.h3 = h3;
		}
		public Div2 getDiv() {
			return div;
		}
		public void setDiv(Div2 div) {
			this.div = div;
		}
		public A getA() {
			return a;
		}
		public void setA(A a) {
			this.a = a;
		}
	}
	public static class A {
		Img img;

		public Img getImg() {
			return img;
		}

		public void setImg(Img img) {
			this.img = img;
		}
	}
	public static class Img {
		@JacksonXmlProperty(isAttribute=true,localName="data-src")
		String src;

		public String getSrc() {
			return src;
		}

		public void setSrc(String src) {
			this.src = src;
		}
	}
	public static class Div2 {
		Ins ins;
		Del del;
		public Ins getIns() {
			return ins;
		}
		public void setIns(Ins ins) {
			this.ins = ins;
		}
		public Del getDel() {
			return del;
		}
		public void setDel(Del del) {
			this.del = del;
		}
	}
	public static class Del {
		@JacksonXmlText
		String text;

		public String getText() {
			return text;
		}

		public void setText(String text) {
			this.text = text;
		}
	}
	public static class Ins {
		@JacksonXmlText
		String text;

		public String getText() {
			return text;
		}

		public void setText(String text) {
			this.text = text;
		}
	}
	public static class H3 {
		A2 a;

		public A2 getA() {
			return a;
		}

		public void setA(A2 a) {
			this.a = a;
		}
	}
	public static class A2 {
		@JacksonXmlProperty(isAttribute=true)
		String href;
		@JacksonXmlText
		String text;
		public String getHref() {
			return href;
		}
		public void setHref(String href) {
			this.href = href;
		}
		public String getText() {
			return text;
		}
		public void setText(String text) {
			this.text = text;
		}
	}
	public List<Li> getLis() {
		return lis;
	}
	public void setLis(List<Li> lis) {
		this.lis = lis;
	}
}
